package com.settlement.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Schema(description = "损失细类表表单对象")
@Data
public class LossForm {

    @Schema(description="损失细类表ID")
    private Long id;

    @Schema(description="损失原因编码")
    private String lossCode;

    @Schema(description="损失原因")
    @NotBlank(message = "损失原因不能为空")
    private String lossName;

    @Schema(description="解释说明")
    private String lossExplain;

    @Schema(description="损失原因细则编码")
    @NotBlank(message = "损失原因细则编码不能为空")
    private String detailCode;

    @Schema(description="损失原因细则名称")
    @NotBlank(message = "损失原因细则名称不能为空")
    private String detailName;

    @Schema(description="责任方编码")
    private String deptCode;

    @Schema(description="角色ID")
    private Long roleId;

    @Schema(description="角色")
    private String roleName;

    @Schema(description="订单核销单据状态编码")
    private String orderStatusCode;

    @Schema(description="订单核销单据状态名称")
    private String orderStatusName;
}
